<template>
  <el-dialog :close-on-click-modal="false" :title="title" center  :visible.sync="open" v-if="open"  append-to-body width="1024px">

    <el-form ref="detailForm"  :model="detailForm" label-width="120px" :disabled="true">

      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="账户名称" prop="actno">
            <el-input v-model="detailForm.actno" />
          </el-form-item>
        </el-col>

        <el-col :span="12">
          <el-form-item label="账户名称" prop="acctname">
            <el-input v-model="detailForm.acctname" />
          </el-form-item>
        </el-col>
      </el-row>

      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="公民身份号码校验结果" prop="numidResult">
            <el-select style="width: 100%;" v-model="detailForm.numidResult" placeholder="公民身份号码校验结果">
              <el-option
                v-for="dict in dictMap.Vertifi_Result_Code"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>

        <el-col :span="12">
          <el-form-item label="账户状态" prop="acctStatus">
            <el-select style="width: 100%;" v-model="detailForm.acctStatus" placeholder="账户状态">
              <el-option
                v-for="dict in dictMap.ACCT_STATUS_312"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="电话/电挂校验结果" prop="telResult">
            <el-select style="width: 100%;" v-model="detailForm.telResult" placeholder="电话/电挂校验结果">
              <el-option
                v-for="dict in dictMap.Vertifi_Result_Code"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>

        <el-col :span="12">
          <el-form-item label="账户属性" prop="acctAttribute">
            <el-select style="width: 100%;" v-model="detailForm.acctAttribute" placeholder="账户属性">
              <el-option
                v-for="dict in dictMap.ACCT_ATTRIBUTE_313"
                :key="dict.value"
                :label="`${dict.value}-${dict.text}`"
                :value="dict.value"
              ></el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row type="flex">
        <el-col :span="12">
          <el-form-item label="当前余额币种" prop="amountCurcd">
            <el-input v-model="detailForm.amountCurcd" />
          </el-form-item>
        </el-col>

        <el-col :span="12">
          <el-form-item label="当前余额" prop="amount">
            <ht-amount-input
              v-model="detailForm.amount"
              placeholder="当前余额"
              :disable=true
            ></ht-amount-input>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row type="flex">
        <el-col :span="24">
          <el-form-item label="附言" prop="attRemark">
            <el-input type="textarea" v-model="detailForm.attRemark" />
          </el-form-item>
        </el-col>
      </el-row>

    </el-form>

    <div slot="footer" align="center" class="dialog-footer">
      <el-button type="primary" @click="cancel">关 闭</el-button>
    </div>
  </el-dialog>

</template>

<script>

import HtAmountInput from "@/views/components/HtAmountInput";
export default {
  name: "GeneralInformationRepsdEntryDetail",
  components: { HtAmountInput },
  props: {
    dictMap: {
      type: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {

    return {
      open:false,
      //
    };
  },
  mounted() {


  },
  methods: {

    show(data) {
      this.detailForm = data;
      this.$set(this, "detailForm",this.detailForm);
      this.title = "应答明细";
      this.open = true;
    },





    // 关闭按钮
    cancel() {
      this.open=false

    },

  }
};
</script>
